package com.iweb.service;

import com.iweb.mapper.TagMapper;
import com.iweb.model.Tag;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Time :2022/8/15 14:03
 * Author : kriller
 * Project : steam-malls
 */
@Service
public class TagService {
    @Resource
    private TagMapper tagMapper;
    public List<Tag> listTag() {
        List<Tag> tags = tagMapper.selectAllTag();
        return tags;
    }
}
